package pl.p09.exception;

import org.antlr.runtime.IntStream;
import org.antlr.runtime.RecognitionException;


public class ContainedTagException extends RecognitionException {
  private static final long serialVersionUID = 1L;
  private String msg;

  public ContainedTagException(String msg) {
    super();
    this.msg = msg;
  }//Constructor
  
  public ContainedTagException(String msg, IntStream input) {
    super(input);
    this.msg = msg;
  }//Constructor
  
  public void reportError() {
    System.out.print("");
    System.err.println(this.msg);
  }//reportError

}//ContainedTagException
